Asp.net ..amr .mp3 (using the qiniu conversion method), asp.net. amr
Preface
I believe everyone should know that the. amr format is used for audio of mobile devices. The compression ratio is relatively large, and it is mostly used for voice and calls. The effect is good! Therefore, most mobile devices use the
The whole idea1, Server Installation FFmpeg2, Use the FFMPEG-I directive to convert AMR to MP3 format (this will be written in PHP code, using the EXEC function can be executed)3. Use the HTML5 audio tag to play the MP3 file on the web sideHere are the details of the operation:first, Server Installation FFmpeg take Cen
FFmpeg is a very powerful audio and video processing tool, the official website is: http://ffmpeg.org/.Because FFmpeg does not have the same files on Windows and on Linux systems (you do not need to install FFmpeg on Windows, you only need to download the Windows version of FFmpeg. Linux requires the user to install ffmpeg---> Reference link: http://linux.it.net.cn/e/Linuxit/2014/0828/3980.html)The most recent project is a requirement to convert the audio files in the
./ffmpeg-3.0.2./configure--enable-libmp3lame--enable-libopencore-amrnb--ENABLE-LIBOPENCORE-AMRWB--enable-version3-- Enable-sharedMakeMake install#这个在云主机编译安装需要十来分钟时间, it's faster when the virtual machine is compiled and installed4 Steps:echo "/usr/local/lib" >>/etc/ld.so.conf5 Steps: Update the Ld.so.cache for the changes to take effect. LdconfigStep 6: testFFmpeg # # Output version information indicates successful installation7 steps: Verify, upload an AMR
others.Anyway In order to let everyone no longer detours, introduce me how to do, in fact, very simple. I am using the socket upload, when there is a file upload finished, if it is audio files, I will turn him into MP3 format. Both AMR format and CAF format, as well as any audio format, are available.First of all, download Ffmpeg.exe, it is easy to search, can b
the warehouse where you upload files, and the queue is the factory of processing files! You can create multiple!Space needs to configure the domain name!4. Download the source code provided by the seven kn: I am the linkThere is a file named "Qiniu.4.0.dll" in the file that references it to your project! // ///set up your ak, SK, and domain names/// Private Static voidSetkey () {//set up an account
Asp.net ...amr .mp3 (using ffmpeg conversion method),. amrffmpeg
Preface
In the previous article, I learned how to use asp.netto convert .amrto using the seven-way conversion method. At that time, I also said that another method is to use the ffmpeg conversion method. The following article will introduce this method in detail. This method is much simpler than the first one!
The name of FFmpeg comes from the
Recently, it seems to be working with the voice!The second method of audio conversion, this method is more simple than the first way!First, you need to download a "Ffmpeg.exe" plugin and put it in your project, such as:The file is called in the program to help convert the audio format!On the code:usingSystem;usingSystem.Threading;usingSystem.IO;usingSystem.Diagnostics;usingsystem.security; Public Partial classcowala_201512chritmas_amrtest:system.web.u
= "http://###.***.com";
}
5. Upload the file, and notify the seven cattle to the file conversion format, the following examples are:. AMR format turns. MP3 format.
The cod
order to let everyone no longer detours, introduce how I do, in fact, very simple. I am using socket upload, when there is a file upload completed, if it is an audio file, I will turn him into a mp3 format. Whether it's AMR format or CAF format, and any audio format, it's OK.
First of all, download Ffmpeg.exe, very ea
directly on the code:
public class Audioutils {
/**
* Converts an AMR file into a mp3 file
*
* @param amrfile
* @param mp3file
* @throws IOException
*
/public static void Amr2mp3 (String amrfile, String mp3file) throws IOException {
File Source = n EW
Objective
The previous article has shared with you the asp.net use of the seven-cow conversion method will be. Amr mp3 method, at that time also said that there is another way to use the FFmpeg conversion method, the following article will give you a detailed description of this method. This method is much simpler than the first.
FFmpeg's name comes from the MPEG video coding standard, the front "FF" repr
Open the converter, add the video file first, click the "Add Video" key in the upper-left corner, and open the FLV video import you want to convert in the open folder. Files can be multiple, and can be converted in batches. This is recently I like to watch the Korean dramas MV, converted into MP3 can let go on the machine to listen, last time I also tried to turn
Open the converter, add the video file first, click the "Add Video" key in the upper-left corner, and open the FLV video import you want to convert in the open folder. Files can be multiple, and can be converted in batches. This is recently I like to watch the Korean dramas MV, converted into MP3 can let go on the machine to listen, last time I also tried to turn
mobile phones are in this format.
The AMR music file can be opened with Storm audio and video, and can also be transcribed into MP3 format.
What does AMR turn on: Since it is a file in audio format, then of course the audio player is used to open the
value for cell phone ringtones, the best setting value for mobile phone single channel MP3 players) 112 kbps = FMFM stereo broadcast 128 kbps = tape (the best value for mobile phone stereo MP3 players and the best value for low-end MP3 players) 160 kbps = HIFI (the best value for medium and high-end MP3 players) 192 k
24kbps= Add telephone quality, shortwave radio, long wave Broadcasting, medium wave broadcast in European format
40kbps= American Standard medium wave Broadcast
56kbps= Voice
64kbps= add voice (mobile ringtone Best bit rate setpoint, phone mono MP3 player Best Set Value)
112KBPS=FM FM Stereo Broadcast
128kbps= tape (best setpoint for cell phone stereo MP3 player, low-end
Author:Riusksk (Quange)
Home page:Http://riusksk.blogbus.com
Preface
A few days agoExploit-dbWe can see this vulnerability announcement, and we have just downloaded the vulnerability software. So we downloaded it, analyzed it, and wrote it by ourselves.Exploit, In the Virtual MachineXp sp3. I have never written any article about overflow vulnerability analysis before. This is just a weekend, I analyzed the cause of the vulnerability myself, so I also have this article. The software analyzed in
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.